package com.xinyuan.plug.model;

import java.io.Serializable;

/**
 *
 * @author LiuChenghui 2025/10/24 09:10:00
 */
public class FieldInfo implements Serializable {
    private String fieldName;
    private String columnName;
    private String javaType;
    private boolean isPrimaryKey;
    private String remarks;

    public String getFieldName() {
        return fieldName;
    }

    public FieldInfo setFieldName(String fieldName) {
        this.fieldName = fieldName;
        return this;
    }

    public String getColumnName() {
        return columnName;
    }

    public FieldInfo setColumnName(String columnName) {
        this.columnName = columnName;
        return this;
    }

    public String getJavaType() {
        return javaType;
    }

    public FieldInfo setJavaType(String javaType) {
        this.javaType = javaType;
        return this;
    }

    public boolean isPrimaryKey() {
        return isPrimaryKey;
    }

    public FieldInfo setPrimaryKey(boolean primaryKey) {
        isPrimaryKey = primaryKey;
        return this;
    }

    public String getRemarks() {
        return remarks;
    }

    public FieldInfo setRemarks(String remarks) {
        this.remarks = remarks;
        return this;
    }
}
